package com.logistics.inventory.mapper;

import com.logistics.inventory.entity.domain.Inventory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.logistics.inventory.entity.model.InventoryPage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 库存 Mapper 接口
 * </p>
 *
 * @author kaihan.wang
 * @since 2024-06-28
 */
@Mapper
public interface InventoryMapper extends BaseMapper<Inventory> {


    /**
     * 查询库存
     * @param paramMaps
     * @return
     */
    List<Inventory> findInventory(InventoryPage paramMaps);

    /**
     * 查询库存件数
     * @param paramMaps
     * @return
     */
    int getContainerCount(InventoryPage  paramMaps);
}


